package com.usefullc.extinguisher.param;
import com.usefullc.common.domain.BaseDomain;
import com.usefullc.common.enums.ValidActionEnum;
import com.usefullc.system.validator.UsefulPropertyVerify;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 消防设备参数实体
 * @author: 星空
 * @date: 2022-09-08
 */
@ApiModel
@Data
public class FireDeviceAuditParam extends BaseDomain {

//useful_auto_generate_section_start

//    @UsefulPropertyVerify(required=true,action = ValidActionEnum.UPDATE)
    @UsefulPropertyVerify(required = false)
    @ApiModelProperty(notes = "ID")
    private Long id;

    @ApiModelProperty(notes = "编码")
    private String code;

    @UsefulPropertyVerify(min=-2147483648, max=2147483647)
    @ApiModelProperty(notes = "状态")
    private Integer status;

    @UsefulPropertyVerify(minLen=2, maxLen=1000)
    @ApiModelProperty(notes = "备注")
    private String memo;

//useful_auto_generate_section_end

    @UsefulPropertyVerify(minLen=2, maxLen=200)
    @ApiModelProperty(notes = "重量/型号")
    private String weightType;

    @UsefulPropertyVerify(minLen=2, maxLen=500)
    @ApiModelProperty(notes = "部位")
    private String area;

}
